package com.runtime.hongyunmanage.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.runtime.hongyunmanage.domain.Manager;
import com.runtime.hongyunmanage.domain.vo.ManagerVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ManagerMapper extends BaseMapper<Manager> {
//    List<Manager> selectpower(String managerAcc);
    List<Manager> selectManagerAcc(@Param("managerAcc") String managerAcc);
    boolean insertManager(Manager manager);
//    TblmanagerVo selectuserpower(@Param("managerAcc") String managerAcc, @Param("managerPwd") String mangerPwd);
    Integer selectmanager(@Param("managerAcc") String managerAcc);
    List<Manager> selectManagerPwd(@Param("managerAcc") String managerAcc, @Param("managerPwd") String mangerPwd);
}
